﻿namespace com.binance.client.model.@event
{
	using BinanceApiConstants = com.binance.client.constant.BinanceApiConstants;
	using ToStringBuilder = org.apache.commons.lang3.builder.ToStringBuilder;

	public class LiquidationOrderEvent
	{

		private string eventType;

		private long? eventTime;

		private string symbol;

		private string side;

		private string type;

		private string timeInForce;

		private decimal origQty;

		private decimal price;

		private decimal averagePrice;

		private string orderStatus;

		private decimal lastFilledQty;

		private decimal lastFilledAccumulatedQty;

		private long? time;

		public virtual string EventType
		{
			get
			{
				return eventType;
			}
			set
			{
				this.eventType = value;
			}
		}


		public virtual long? EventTime
		{
			get
			{
				return eventTime;
			}
			set
			{
				this.eventTime = value;
			}
		}


		public virtual string Symbol
		{
			get
			{
				return symbol;
			}
			set
			{
				this.symbol = value;
			}
		}


		public virtual string Side
		{
			get
			{
				return side;
			}
			set
			{
				this.side = value;
			}
		}


		public virtual string Type
		{
			get
			{
				return type;
			}
			set
			{
				this.type = value;
			}
		}


		public virtual string TimeInForce
		{
			get
			{
				return timeInForce;
			}
			set
			{
				this.timeInForce = value;
			}
		}


		public virtual decimal OrigQty
		{
			get
			{
				return origQty;
			}
			set
			{
				this.origQty = value;
			}
		}


		public virtual decimal Price
		{
			get
			{
				return price;
			}
			set
			{
				this.price = value;
			}
		}


		public virtual decimal AveragePrice
		{
			get
			{
				return averagePrice;
			}
			set
			{
				this.averagePrice = value;
			}
		}


		public virtual string OrderStatus
		{
			get
			{
				return orderStatus;
			}
			set
			{
				this.orderStatus = value;
			}
		}


		public virtual decimal LastFilledQty
		{
			get
			{
				return lastFilledQty;
			}
			set
			{
				this.lastFilledQty = value;
			}
		}


		public virtual decimal LastFilledAccumulatedQty
		{
			get
			{
				return lastFilledAccumulatedQty;
			}
			set
			{
				this.lastFilledAccumulatedQty = value;
			}
		}


		public virtual long? Time
		{
			get
			{
				return time;
			}
			set
			{
				this.time = value;
			}
		}


		public override string ToString()
		{
			return (new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)).append("eventType", eventType).append("eventTime", eventTime).append("symbol", symbol).append("side", side).append("type", type).append("timeInForce", timeInForce).append("origQty", origQty).append("price", price).append("averagePrice", averagePrice).append("orderStatus", orderStatus).append("lastFilledQty", lastFilledQty).append("lastFilledAccumulatedQty", lastFilledAccumulatedQty).append("time", time).ToString();
		}
	}

}